package com.fare.taluo.application.analyse;

import java.io.IOException;
import java.util.List;

import org.apache.hadoop.hbase.filter.Filter;

import com.fare.taluo.vo.core.PlaneInfo;

/**
 *  渠道走势对比 分析报表
 * @author spring.华 
 * 2013-1-28
 */
public interface ChannelContrastApplication {

	
	public List<PlaneInfo> earchChannelContrast(String tableName,String startRowKey,String endRowKey,List<Filter> filters) throws IOException;
	
	
	public List<PlaneInfo> searchByHbaseRowModel(String tableName,String startRowKey,String endRowKey,List<Filter> filters);
	/**
	 * 
	 * @param dates
	 * @param rowKeyHead
	 * @param checkBox_str value="MN"表示上午，晚上
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(List<String> dates,String rowKeyHead,String checkBox_str)throws Exception;
	
	/**
	 * 
	 * @param dates
	 * @param rowKeyHead
	 * @param checkBox_str value="MN"表示上午，晚上
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(String tablename,List<String> dates,String rowKeyHead,String checkBox_str)throws Exception;
	
	
	/**
	 * 
	 * @param dates
	 * @param rowKeyHead
	 * @param timeBegin
	 * @param timeEnd
	 * param checkBox_str value="P" 自定义时间
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(List<String> dates,String rowKeyHead,String checkBox_str,String timeBegin,String timeEnd)throws Exception;
	/**
	 * 
	 * @param dates
	 * @param rowKeyHead
	 * @param timeBegin
	 * @param timeEnd
	 * param checkBox_str value="P" 自定义时间
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(String tablename,List<String> dates,String rowKeyHead,String checkBox_str,String timeBegin,String timeEnd)throws Exception;
}
